from socket import *

sk = socket(AF_INET, SOCK_STREAM)
sk.connect(('192.168.0.1', 8976))
sk.send(input("请输入").encode('utf-8'))
msg = sk.recv(1024).decode('utf-8')
print(msg)
sk.close()
